package com.zhengqiangblog.blog.web;

import org.apache.log4j.Logger;

import com.zhengqiangblog.blog.service.SideBarService;
import com.zhengqiangblog.core.ApplicationContext;
import com.zhengqiangblog.core.Model;

public class AboutAction {

	private static final Logger logger = Logger.getLogger(AboutAction.class);

	private SideBarService sideBarService = ApplicationContext.get(SideBarService.class);

	public AboutAction() {
		logger.info("AboutAction initializing...");
	}

	public String execute(Model model) throws Exception {
		sideBarService.initialize(model);
		return "ABOUT";
	}

}
